package com.sailfish.springbootdemo.service.db2;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db2.BoardInfo;
import com.sailfish.springbootdemo.pojo.db2.PcbCost;
import com.sailfish.springbootdemo.pojo.db2.PcbCostByFactory;

import java.util.List;

public interface PcbCostService {

    Result insert(String data);

    Result update(String data);

    Result delete(Integer id);

    Result deletePcbCostByProduct(String productName, String productVersion);

    List<PcbCost> getAll(PcbCost pcbCost);

    List<PcbCost> getByFactory();

    Result getCostBoardList(String searchK, String searchV, String timeRange1, String timeRange2);

    Result getCostBoardList(String searchK, String searchV, String timeRange1, String timeRange2, Integer page, Integer pageSize);

    Result output();
}
